Non-Volatile Memory Based Cache Replacement Policy
نویسندگان
چکیده
Currently, most computer systems consist of Dynamic RAM (DRAM) as main memory and Hard Disk Drives (HDDs) as storage devices. Due to DRAM’s volatile nature, it suffers from data loss in the event of power failure or system crash. With rapid development of new types of non-volatile memory, it becomes promising that one of these technologies will replace DRAM as main memory in the near future. Considering non-volatile memory as main memory in our future systems, some mechanisms designed for DRAM based system should be modified to fully explore the advantage of the non-volatile characteristic of main memory. In today’s DRAM based systems, newly updated pages will have to be flushed to HDD in every 30 seconds. In the future non-volatile memory based systems, any updated pages can be kept longer in main memory without the urgency to be flushed to HDD. Therefore, this opens opportunities to investigate new cache replacement policy. In this paper, we investigate and propose a new non-volatile memory based cache replacement policy that giving priority to re-group and synchronize long consecutive dirty pages to take advantage of HDD’s fast sequential access speed and nonvolatile property of main memory. Specifically, with the help of a fixed or dynamic Threshold, we synchronize and evict qualified consecutive dirty pages out of cache, instead of evicting singular page at the least recently used position. We evaluate our scheme with various I/O traces. The experimental results show that our proposed cache replacement policies shorten system I/O completion time more than 10x and improve cache hit ratio varied from 0.5% to 10% when compared with DRAM based LRU policy.
منابع مشابه
Reduction in Cache Memory Power Consumption based on Replacement Quantity
Today power consumption is considered to be one of the important issues. Therefore, its reduction plays a considerable role in developing systems. Previous studies have shown that approximately 50% of total power consumption is used in cache memories. There is a direct relationship between power consumption and replacement quantity made in cache. The less the number of replacements is, the less...
متن کاملReduction in Cache Memory Power Consumption based on Replacement Quantity
Today power consumption is considered to be one of the important issues. Therefore, its reduction plays a considerable role in developing systems. Previous studies have shown that approximately 50% of total power consumption is used in cache memories. There is a direct relationship between power consumption and replacement quantity made in cache. The less the number of replacements is, the less...
متن کاملA Technique for Efficiently Managing SRAM-NVM Hybrid Cache
In this paper, we present a SRAM-PCM hybrid cache design, along with a cache replacement policy, named dead fast block (DFB) to manage the hybrid cache. This design aims to leverage the best features of both SRAM and PCM devices. Compared to a PCM-only cache, the hybrid cache with DFB policy provides superior results on all relevant evaluation metrics, viz. cache lifetime, performance and energ...
متن کاملA Stack Model Based Replacement Policy for a NonVolatile Write Cache
The use of non-volatile write caches is an effective technique to bridge the performance gap between I/O systems and processor speed. Using such caches provides two benefits: some writes will be avoided because dirty blocks will be overwritten in the cache, and physically contiguous dirty blocks can be grouped into a single I/O operation. We present a new block replacement policy that efficient...
متن کاملDuty to Delete on Non-Volatile Memory
We firstly suggest new cache policy applying the duty to delete invalid cache data on Non-volatile Memory (NVM). This cache policy includes generating random data and overwriting the random data into invalid cache data. Proposed cache policy is more economical and effective regarding perfect deletion of data. It is ensure that the invalid cache data in NVM is secure against malicious hackers.
متن کامل